﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AnlianCommon.Common.Domains.OrganizationalUnits
{
    /// <summary>
    /// 部门
    /// </summary>
    public class Department
    {
        [Key]
        public int DepartmentId { get; set; }
        //部门上级
        public string? DepartmentSuperior { get; set; }
        //部门名称
        public string? DepartmentName { get; set; }
        //部门停用
        public string? DepartmentDeactivatebool { get; set; }
        //部门类型(外键)
        public string? DepartmentTypeId { get; set; }
        //部门序号(外键)
        public string? DepartmentOrdinal { get; set; }
        //部门区域(外键)
        public int? CountyId { get; set; }
        //直接上级
        public string? DirectSuperior { get; set; }
        //部门主管
        public string? DepartmentSupervisor { get; set; }
        //分管负责人
        public string? InChargeHead { get; set; }
        //财务负责人
        public string? Treasurer { get; set; }
        //可查看人员
        public string? ViewablePersonnel { get; set; }
        //职能体系(外键)
        public string? FunctionalSystemId { get; set; }
    }
}
